﻿@model RBS.Core.Model.U_User
@{
    ViewBag.Title = "用户信息";
    Layout = "~/Views/Shared/_UserLayout.cshtml"; 
}

<!--导航栏-->
@{
    @Html.Partial("_Location");
}
<!--/导航栏-->
<!--内容-->

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true) 
    @Html.HiddenFor(model => model.Id)
    <div class="tab-content">
        
        <dl>
            <dt>食客账户</dt>
            <dd>

                @Html.DisplayFor(model => model.U_Uid)
              
            </dd>
        </dl> 
          <dl>
            <dt>邮件</dt>
            <dd>

                @Html.DisplayFor(model => model.Email)
               
            </dd>
        </dl>
        <dl>
            <dt>真实姓名</dt>
            <dd> 
                @Html.TextBoxFor(model => model.U_Name, null, new { @class = "input normal" })
                <span class="Validform_checktip">*食客姓名</span> 
            </dd>
        </dl>
        <dl>
            <dt>昵称</dt>
            <dd> 
                @Html.TextBoxFor(model => model.Nick_Name, null, new { @class = "input normal" })
                <span class="Validform_checktip">*昵称</span> 
            </dd>
        </dl>
         
        <dl>
            <dt>联系电话</dt>
            <dd> 
                @Html.TextBoxFor(model => model.Telphone, null, new { @class = "input normal" })
                <span class="Validform_checktip">*联系电话</span>

            </dd>
        </dl>
        <dl>
            <dt>手机</dt>
            <dd>
                @if (Model.Status == 3)
                {
                     @Html.DisplayFor(model => model.Mobile)
                     @Html.HiddenFor(model => model.Mobile)
                     <span class="Validform_checktip">已认证</span> 
                }
                else
                { 
                   @Html.TextBoxFor(model => model.Mobile, null, new { @class = "input normal" })
                   <a  href="@Url.Action("Verify")" >认证手机</a> 
                }
            </dd>
        </dl>
        <dl>
            <dt>性别</dt>
            <dd> 
                  <div class="rule-multi-radio"> 
                   <label for="Sex">男</label>
                    @Html.RadioButtonFor(model => model.Sex, "男", new { @id = "radio1", @name = "rdolstState" }) 
                    <label for="Sex">女</label>
                    @Html.RadioButtonFor(model => model.Sex, "女", new { @id = "radio2", @name = "rdolstState" }) 
                  </div>  
                <span class="Validform_checktip"> </span> 
            </dd>
        </dl>
        <dl>
            <dt>生日</dt>
            <dd> 
               
                   @Html.TextBoxFor(model => model.Birthday, String.Format("{0:yyyy-MM-dd}", Model.Birthday), new { @class = "input date", onfocus = "WdatePicker({dateFmt:'yyyy-MM-dd'})", datatype = @"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/", errormsg = "请选择正确的日期", sucmsg = " ", width = "100px" })             
            </dd>
        </dl>
        <dl>
            <dt>qq</dt>
            <dd>

                @Html.TextBoxFor(model => model.QQ, null, new { @class = "input normal" })
                <span class="Validform_checktip">*qq</span>

            </dd>
        </dl> 
    </div>
    <!--/内容-->

    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />

        </div>
        <div class="clear"></div>
    </div>
    <!--/工具栏-->
        
}










